package test.lookup;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author double on 2017/11/28 15:28.
 * @version 1.0
 */
public class GeteanTest {
	public static void main(String[] args) {
		ApplicationContext
				bf = new ClassPathXmlApplicationContext(
				"test/lookup/lookupTest.xml"
		);
		GetBeanTest test
				= (GetBeanTest) bf.getBean("getBeanTest");
		test.showMe();
	/*	String i = "A";
		String i2 = "a";
		Integer i1 = 11;
		System.out.println(i.hashCode());
		System.out.println(i2.hashCode());
		System.out.println(i1.hashCode());*/
	}
}
